package entity;
public class Elective {	
	private String username;//选课学生用户名	
	private int course_id;  //课程编号
	public Elective(String username, int course_id) {
		super();
		this.username = username;
		this.course_id = course_id;
	}
	public Elective(int course_id) {		
		this.course_id = course_id;
	}	
	public Elective(String username) {		
		this.username = username;
	}
	public Elective() {
		super();
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public int getCourse_id() {
		return course_id;
	}
	public void setCourse_id(int course_id) {
		this.course_id = course_id;
	}
	@Override
	public String toString() {
		return "Elective [username=" + username + ", course_id=" + course_id + "]";
	}
}
